a={1: 'lisi'}
print(a.get(1))
map ={
    'id':1,
    'name':'lisi'
}
print(map)
print(map['id'])
print(map.get('id'))
map["code"] = 100
print(map)
map.pop("code")
print(map)
map["code"] = 20000
print(map)

for key in map:
    print(key,map[key])


print("===========")
print(map.keys())
print(map.values())
print(map.items())
for key,value in map.items():
    print(key,":",value)